<div class="content" id="siteClass">
	<div class="hd_title">商品分类</div>
	<ul>
		<{foreach from=$classes key=k item=v}>
		<li>
			<h3 class="class_<{$k}>">
			<{if $v.cid == "0"}>
				<a href="<{urlClass keyword=$v.title empty_keyword=1}>"><{$v.title}></a>
			<{else}>
				<a href="<{urlClass cid=$v.cid}>"><{$v.title}></a>
			<{/if}>
			</h3>
			<div>
				<{foreach from=$v.sub key=kk item=vv}>
				<{if $vv.0 == "0"}>
					<{if $v.cid == "0"}>
						<a href="<{urlClass keyword=$vv.1 empty_keyword=1}>"><{$vv.1}></a>
					<{else}>
						<a href="<{urlClass cid=$v.cid keyword=$vv.1 empty_keyword=1}>"><{$vv.1}></a>
					<{/if}>
				<{else}>
					<a href="<{urlClass cid=$vv.0}>"><{$vv.1}></a>
				<{/if}>
				<{/foreach}>
			</div>
		</li>
		<{/foreach}>
	</ul>
</div>
